/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jeff.springWebTestNG.persistence.service;

import com.mongodb.BasicDBObject;
import com.mongodb.DBCursor;
import com.mongodb.DBObject;
import java.util.List;

/**
 *
 * @author winnie
 */
public interface IBaseMongoPersister {
    void truncateColl();
    DBCursor getCursor4All();
    List<BasicDBObject> getAll();
    List<DBObject> getByCond(DBObject query);
}
